package com.example.mallcart.service;

import com.example.mallcart.controller.vo.CartItem;
import com.example.mallcart.entity.Cart;

import java.io.IOException;
import java.util.List;

/**
 * @author guanglin.ma
 * @date 2024-01-07 9:20
 */
public interface CartService {

    public CartItem addCart(String skuId, String num) throws Exception;

    Cart getCartList() throws IOException;

    List<CartItem> getUserCartItems() throws IOException;
}
